package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.member.model.MemberOrderGetUnpaidListOrders;
/**
* 获取我的待支付订单列表
* @author wliu
* edit tse
*/
public class MemberOrderGetUnpaidList extends RudderResponse{

private String groupOrderId = "";


private String addTime = "";


private List<MemberOrderGetUnpaidListOrders> orders = new ArrayList<MemberOrderGetUnpaidListOrders>();


/**
* @return groupOrderId
*/
public String getGroupOrderId() {
return this.groupOrderId;
}

/**
* @return groupOrderId
*/
public void setGroupOrderId(String groupOrderId) {
this.groupOrderId = groupOrderId;
}
/**
methodName    GroupOrderId
type          String
name          groupOrderId
defaultType   ""
*/

/**
* @return addTime
*/
public String getAddTime() {
return this.addTime;
}

/**
* @return addTime
*/
public void setAddTime(String addTime) {
this.addTime = addTime;
}
/**
methodName    AddTime
type          String
name          addTime
defaultType   ""
*/

/**
* @return orders
*/
public List<MemberOrderGetUnpaidListOrders> getOrders() {
return this.orders;
}

/**
* @return orders
*/
public void setOrders(List<MemberOrderGetUnpaidListOrders> orders) {
this.orders = orders;
}
/**
methodName    Orders
type          List<MemberOrderGetUnpaidListOrders>
name          orders
defaultType   new ArrayList<MemberOrderGetUnpaidListOrders>()
*/

/**


    private static void filterFor(MemberOrderGetUnpaidListOrdersGoods member) {
        if (member.getProductId() == null) {
            member.setProductId("");
        }
        if (member.getName() == null) {
            member.setName("");
        }
        if (member.getPrice() == null) {
            member.setPrice("");
        }
        if (member.getQuantity() == null) {
            member.setQuantity("");
        }
        if (member.getThumbnailPic() == null) {
            member.setThumbnailPic("");
        }
        if (member.getSubTotal() == null) {
            member.setSubTotal("");
        }
        if (member.getSpec() == null) {
            member.setSpec("");
        }
    }

    private static void filterFor(MemberOrderGetUnpaidListOrders member) {
        if (member.getOrderId() == null) {
            member.setOrderId("");
        }
        if (member.getAddTime() == null) {
            member.setAddTime("");
        }
        if (member.getTotal() == null) {
            member.setTotal("");
        }
        if (member.getStatus() == null) {
            member.setStatus("");
        }
        if (member.getGoods() == null) {
            member.setGoods(new ArrayList<MemberOrderGetUnpaidListOrdersGoods>());
        } else {
            for (MemberOrderGetUnpaidListOrdersGoods item : member.getGoods()) {
                filterFor(item);
            }
        }
        if (member.getWareName() == null) {
            member.setWareName("");
        }
        if (member.getSubTax() == null) {
            member.setSubTax("");
        }
    }

    public static void filter(MemberOrderGetUnpaidList member) {
        if (member.getGroupOrderId() == null) {
            member.setGroupOrderId("");
        }
        if (member.getAddTime() == null) {
            member.setAddTime("");
        }
        if (member.getOrders() == null) {
            member.setOrders(new ArrayList<MemberOrderGetUnpaidListOrders>());
        } else {
            for (MemberOrderGetUnpaidListOrders item : member.getOrders()) {
                filterFor(item);
            }
        }
    }

*/

}
